html {
	/* filter: grayscale(100%) */
	/* 网页变灰 缅怀悼念 */
}
body {
    background-color: white;
    font-family: Misans;
    margin: 0;
	width: 100%;
	height: 100%;
	min-width: 1533px;
}
a:link {text-decoration:none; color: white;}    /* 未访问链接 */
a:visited {text-decoration:none; color: white;} /* 已访问链接 */
a:hover {text-decoration:none; color: white;}   /* 鼠标移至链接 */
a:active {text-decoration:none; color: white;}  /* 选择链接 */


.success {
	position: fixed;
	border: 1px solid #00A74A;
	border-radius: 100px;
	background-color: #B9DCD2;
	color: #00A74A;
	font-size: 25px;
	font-weight: bold;
	padding: 12px 30px 12px 30px;
	margin-left: 44%;
	width: 100%
	float: left;
	margin-top: -80px;
	z-index: 998;
	transition: translate 1s;
	/* overflow: hidden; */
	display: inline-block;
}
/* 横幅 */
.hengfu {
	
	margin: auto;
	width: 780px;
	max-width: 780px;
	height: 145px;
	margin-top: 80px;
	margin-bottom: -70px;
	background: url(src/assets/横幅.png);
}


.hengfu_text_box {
            /* 最外层盒子，需要三个属性：定宽、文字不换行、超过隐藏 */
			width: 460px;
			padding-top: 38px;
			margin-left: 163px;
			white-space: nowrap;
			overflow: hidden;
			
		}
		.hengfu_text {
			font-size: 30px;
			position: relative;
            /* 盒子背景宽度将随文字宽度而进行自适应 */
			width: fit-content;
            /* 添加动画 */
			animation: move 15s linear infinite;
            /* 让前面的几个文字有一个初始的距离，达到更好的呈现效果 */
            padding-left: 460px;
		}
		.hengfu_text::after {
			position: absolute; 
			right: -100%;
			content: attr(text);
		}
		@keyframes move {
			0% {
				transform: translateX(0);
			}
			100% {
				transform: translateX(-100%);
			}
		}

.close_hengfu_box {
	float: right;
	margin-right: 19%;
	width: auto;
	margin-top: -20px;
}
.close_hengfu_box button {
	color: grey;
	font-size: 50px;
	line-height: 0px;
	padding: 20px 5px;
	border: 0;
	border-radius: 5px;
	background-color: white;
	-webkit-transition: all .3s;
	transition: all .3s;
	cursor:pointer;
}
.close_hengfu_box button:hover {
	color: white;
	background-color: #f03752;
}
/* 导航栏 */
.daohang {
    width: 100%;
    height: 60px;
    line-height: 20px;
    background-color: #f03752;
    margin: 0;
    padding: 0;
    top: 0;
    position: fixed;
    z-index: 999; /*置于顶层*/
}

.daohang_xiangmu{
    list-style: none;
    float: right;
}
.daohang_xiangmu2{
    list-style: none;
    float: left;
    font-size: 40px;
    margin-top: 20px;
    margin-left: 20px;
    color: white;
}
.daohang_xiangmu_title {
    list-style: none;
    float: right;
    color: white;
    font-size: 40px;
    text-align: center;
    padding: 20px 45px;
}
.daohang_xiangmu a {
    display: block;
    color: white;
    text-align: center;
    padding: 20px 30px;
    text-decoration: none;
    -webkit-transition: all .3s; 
    transition: all .3s;
}

.daohang_xiangmu a:hover{
    background-color: white;
    color: #f03752;
	
}
.daohang_xiangmu a:hover span{
    color: #f03752;
}


/*  */
.main {
    margin: auto;
    background-color: white;
    width: 95%;
}

.main:after {
	content: "";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}

.item {
    text-align: center;
    width: 17.5%;
    height: auto;
    background-color: rgb(255, 255, 255);
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
    box-shadow:  0px 0px 10px rgba(0, 0, 0, 0.1);
    float: left;
}
.item_name
{
    font-size: 25px;
	width: 100%;
}
.item_price {
	line-height: 40px;
    text-align: right;
    font-size: 20px;
    margin-right: 15px;
}


/* 搜索框代码 */
/* * {
    box-sizing:border-box;
} */
.search {
    margin-top: 80px;
	margin-bottom: -35px;
    padding:10px 0;
    box-sizing:border-box;
    z-index: -1;
}
.search_form {
    position:relative;
    width:600px;
    margin:0 auto;
    box-sizing:border-box;
}
.search_input,.search_button {
    border:none;
    outline:none;
    box-sizing:border-box;
}
.search_input {
    width:100%;
    height:42px;
    padding-left:13px;
    box-sizing:border-box;
}
.search_button {
	margin-top: 5px;
	margin-right: 5px;
    height:30px;
    width:30px;
    position:absolute;
    box-sizing:border-box;
}     
.bar input {
    border:2px solid #f03752;
    border-radius:5px;
    background:transparent;
    top:0;
    right:0;
}
.bar button {
    background:white;
    border-radius:0 5px 5px 0;
    width:40px;
    top:0;
    right:0;
}




/*  */
.title {
	display:inline-block; 
	*display:inline; 
	*zoom:1;
    font-size: 33px;
    color: black;
    /* margin-top: 15px; */
    margin-bottom: 20px;
    margin-left: 40px;
	border-bottom: 6px solid #f03752;
	padding-bottom: 0px;
	padding-top: 60px;
}
.cart {
	/* background-color: aquamarine; */
	width: 80%;
	height: auto;
	margin: auto;
	margin-bottom: 50px;
}
.cart_table {
	margin: auto;
	width: 97%;
	margin-top: 20px;
	border-collapse: collapse;
}

.cart_item {
	padding-left: 3rem;
	padding-top: 10px;
}
thead {
	/* background-color: #ffe4e5; */
	font-size: 25px;
	
}

.thead_td1 {
	border-left: 6px solid #f03752;
	width: 10%;
	border-bottom: 0;
	border-top: 0;
}
.thead_td2 {
	border-left: 6px solid #f03752;
	width: 20%;
	border-bottom: 0;
	border-top: 0;
}
.cart_img {
	width: 100%;
	height: auto;
	align-self:center;
}
.cart_name {
	float: left;
	width: 70%;
	height: 150px;
	display: flex;

}
.cart_pic {

	width: 30%;
	height: 150px;
	float: left;
	display: flex;
}
.pname {
	font-size: 20px;
	align-self:center;
}
.number {
	text-align: center;
	width: 35%;
	color: #3d3d3d;
	padding-left: 35px;
	font-size: 20px;
	border:2px solid #f03752;
	height: 35px;
	outline:none;
	box-sizing:border-box;
}
.del {
	background-color: #f03752;
	color: white;
	padding: 8px;
}
.clear {
	background-color: #f03752;
	color: white;
	padding: 2px;
}
.add {
	width: 35px;
	height: 35px;
	font-size: 20px;
	background-color: #f03752;
	color: white;
	border: none;
	cursor:pointer;
	position:absolute;
	box-sizing:border-box;
}
.sub {
	width: 35px;
	height: 35px;
	font-size: 20px;
	background-color: #f03752;
	color: white;
	border: none;
	cursor:pointer;
	position:absolute;
	box-sizing:border-box;
}
.price {
	font-size: 20px;
	color: #f03752;
	padding-left: 20px;
}
.count {
	font-size: 20px;
	color: #f03752;
	padding-left: 20px;
}
.total_text {
	font-size: 25px;
	margin-right: 10px;
}
.total_num {
	color: #f03752;
}
.total_num2 {
	color: white;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.total_money {
	color: #f03752;
}
.total_money2 {
	color: #f03752;
}
.yunfei {
	color: #f03752;
}
.orders_total {
	margin: auto;
	text-align: center;
	width: auto;
	
}
td {
	border-bottom: 1px solid #3d3d3d;
	border-top: 1px solid #3d3d3d;
}
.pid {
	width: 25px;
	height: 25px;

}
/* 横向滚动动画 */
.scroll-wrap {
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-item {
    animation: scroll linear 6s alternate infinite;
    float: left;
}

@keyframes scroll {
    0% {
        margin-left: 0;
        transform: translateX(0);
    }

    10% {
        margin-left: 0;
        transform: translateX(0);
    }

    90% {
        margin-left: 100%;
        transform: translateX(-100%);
    }

    100% {
        margin-left: 100%;
        transform: translateX(-100%);
    }
}


.detail_box {
	border-radius: 10px;
	position: fixed;
	background-color: white;
	width: 70%;
	min-width: 1100px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 1001;
	top: 25vh;
	margin-left: 15%;
	height: auto;
}
.detail_pic {
	background-color: white;
	width: 40%;
	float: left;
	height: auto;
	
}
.detail_text {
	margin-top: 20px;
	width: 57%;
	background-color: white;
	float: right;
	line-height: 40px;
	font-size: 20px;
	height: auto;
	
}
.detail_box:after {
	content: "";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}
.detail_text_name1 {
	display: inline-block;
	width: 18%;
	float: left;
}
.detail_text_name2 {
	background-color: white;
	width: 82%;
	float: left;
}
.detail_text:after {
	content: "";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}
.detail_text_content:after {
	content: "";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}
.detail_price {
	color: #f03752;
	background-color: white;
	margin-top: 20px;
	text-align: center;
	font-size: 32px;
}
.detail_buy {
	background-color: white;
	margin-top: 20px;
	width: 100%;
	text-align: center;
}
.detail_close {
	margin-top: 10px;
	float: right;
	width: 100%;
}
.detail_close button{
	padding: 0px 10px 0px 10px;
	color: #f03752;
	background-color: white;
	font-size: 30px;
	font-weight: bold;
	border: 0;
	cursor:pointer;
	border-radius: 10px;
	float: right;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.detail_close button:hover {
	color: white;
	background-color: #f03752;
}


.opacity_bg {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: #000;
        opacity: 0.6;
        margin: auto;
        z-index: 1000;
        display: none;
    }    
	
	
.pay_main_box {
	margin: auto;
	width: 50%;
	/* text-align: center; */
}	
.total_main_box {
	background-color: aqua;
	width: 90%;
	margin: auto;
	text-align: left;
}
.total_name {
	float: left;
	width: 75%;
}
#search_tips {
	width: 100%;
	text-align: center;
	font-size: 22px;
	display: none;
}
.pay_form {
	text-align: center;
	line-height: 70px;
}
.pay_form img {
	vertical-align: middle;
	
}

.go_to_pay {
	width: 80%;
	border: 0;
	border-radius: 15px;
	color: white;
	background-color: #f03752;
	cursor: pointer;
	font-size: 35px;
	padding: 15px 0px 15px 0px;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.go_to_pay_box {
	text-align: center;
}
.go_to_pay_box button:hover {
	background-color: #ce2f47;
}
.bottom {
	background-color: #f5f5f7;
	float: left;
	width: 100%;

}
.bottom_box {
	float: left;
	padding-left: 5%;
	width: 20%;
	
}
.bottom_tips {
	text-align: center;
}
.bottom_box ul {
	list-style: none;
}
.b_head {
	font-weight: bold;
	font-size: 15px;
	line-height: 35px;
}
.b_li2 {
	font-size: 15px;
	line-height: 23px;
}
.bottom_float:after {
		content: "";
		display: block;
		height: 0;
		clear:both;
		visibility: hidden;
}
.bottom_tips span {
	font-size: 12px;
	color: grey;
}
.pay_check {
	width: 30%;
	height: 300px;
	border-radius: 10px;
	background-color: white;
	padding: 20px 0px 20px 0px;
	margin: auto;
	text-align: center;
	position: fixed;
	z-index: 1001;
	left: 35%;
	top:350px;
	display: none;
	
}
.pay_check_text {
	font-size: 35px;
	margin-bottom: 30px;
	margin-top: -50px;
}
.pay_success_button {
	background-color: #58d97b;
	padding: 15px 30px 15px 30px;
	font-size: 22px;
	color: white;
	border: 0;
	border-radius: 10px;
	margin-left: 10px;
	cursor: pointer;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.pay_success_button:hover {
	background-color: #00A74A;
}
.pay_fail_button {
	background-color: #f03752;
	padding: 15px 30px 15px 30px;
	font-size: 22px;
	color: white;
	border: 0;
	border-radius: 10px;
	margin-right: 10px;
	cursor: pointer;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.pay_fail_button:hover {
	background-color: #ce2f47;
}


.language {
	position: absolute;
	z-index: 100;
	top: 60px;
	right: 0px;
}

.dropbtn {
    background-color: white;
    color: black;
    padding: 5px 5px;
    border: none;
    cursor: pointer;
    min-width: 90px;
	text-align: center;
	
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e3e3e3;

    min-width: 100px;
	
	
}
/* 下拉菜单的链接 */
.dropdown-content a {
    color: black;
    padding: 5px 5px;
    text-decoration: none;
    display: block;
	text-align: center;
}

/* 鼠标移上去后修改下拉菜单链接颜色 */
.dropdown-content:hover {background-color:#d2d2d2 }

/* 在鼠标移上去后显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 当下拉内容显示后修改下拉按钮的背景颜色 */
.dropdown:hover .dropbtn {
    background-color: #e3e3e3;
}